@datapos/datapos-development 0.3.406 → 0.3.409

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,9 +57,9 @@ var O = function(e, s) {
57
57
  function ot(t, e) {
58
58
  return new O(t, { beforeExpr: !0, binop: e });
59
59
  }
60
- var ht = { beforeExpr: !0 }, et = { startsExpr: !0 }, Lt = {};
60
+ var ht = { beforeExpr: !0 }, et = { startsExpr: !0 }, Ot = {};
61
61
  function M(t, e) {
62
- return e === void 0 && (e = {}), e.keyword = t, Lt[t] = new O(t, e);
62
+ return e === void 0 && (e = {}), e.keyword = t, Ot[t] = new O(t, e);
63
63
  }
64
64
  var u = {
65
65
  num: new O("num", et),
@@ -155,19 +155,19 @@ var u = {
155
155
  _void: M("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
156
156
  _delete: M("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
157
157
  }, J = /\r\n?|\n|\u2028|\u2029/, oi = new RegExp(J.source, "g");
158
- function Et(t) {
158
+ function It(t) {
159
159
  return t === 10 || t === 13 || t === 8232 || t === 8233;
160
160
  }
161
161
  function hi(t, e, s) {
162
162
  s === void 0 && (s = t.length);
163
163
  for (var a = e; a < s; a++) {
164
164
  var o = t.charCodeAt(a);
165
- if (Et(o))
165
+ if (It(o))
166
166
  return a < s - 1 && o === 13 && t.charCodeAt(a + 1) === 10 ? a + 2 : a + 1;
167
167
  }
168
168
  return -1;
169
169
  }
170
- var Ie = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, W = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ui = Object.prototype, ds = ui.hasOwnProperty, ms = ui.toString, Rt = Object.hasOwn || (function(t, e) {
170
+ var Ie = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, W = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ui = Object.prototype, ds = ui.hasOwnProperty, ms = ui.toString, Mt = Object.hasOwn || (function(t, e) {
171
171
  return ds.call(t, e);
172
172
  }), $e = Array.isArray || (function(t) {
173
173
  return ms.call(t) === "[object Array]";
@@ -178,11 +178,11 @@ function kt(t) {
178
178
  function gt(t) {
179
179
  return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10) + 55296, (t & 1023) + 56320));
180
180
  }
181
- var ys = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ot = function(e, s) {
181
+ var ys = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Rt = function(e, s) {
182
182
  this.line = e, this.column = s;
183
183
  };
184
- Ot.prototype.offset = function(e) {
185
- return new Ot(this.line, this.column + e);
184
+ Rt.prototype.offset = function(e) {
185
+ return new Rt(this.line, this.column + e);
186
186
  };
187
187
  var Kt = function(e, s, a) {
188
188
  this.start = s, this.end = a, e.sourceFile !== null && (this.source = e.sourceFile);
@@ -191,7 +191,7 @@ function _e(t, e) {
191
191
  for (var s = 1, a = 0; ; ) {
192
192
  var o = hi(t, a, e);
193
193
  if (o < 0)
194
- return new Ot(s, e - a);
194
+ return new Rt(s, e - a);
195
195
  ++s, a = o;
196
196
  }
197
197
  }
@@ -295,7 +295,7 @@ var ee = {
295
295
  function xs(t) {
296
296
  var e = {};
297
297
  for (var s in ee)
298
- e[s] = t && Rt(t, s) ? t[s] : ee[s];
298
+ e[s] = t && Mt(t, s) ? t[s] : ee[s];
299
299
  if (e.ecmaVersion === "latest" ? e.ecmaVersion = 1e8 : e.ecmaVersion == null ? (!Ke && typeof console == "object" && console.warn && (Ke = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
300
300
  Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion = 11) : e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), (!t || t.allowHashBang == null) && (e.allowHashBang = e.ecmaVersion >= 14), $e(e.onToken)) {
301
301
  var a = e.onToken;
@@ -316,9 +316,9 @@ function vs(t, e) {
316
316
  t.locations && (g.loc = new Kt(this, d, v)), t.ranges && (g.range = [o, l]), e.push(g);
317
317
  };
318
318
  }
319
- var $t = 1, Mt = 2, Ne = 4, ci = 8, Le = 16, pi = 32, he = 64, li = 128, It = 256, Wt = 512, ue = $t | Mt | It;
319
+ var $t = 1, Dt = 2, Ne = 4, ci = 8, Le = 16, pi = 32, he = 64, li = 128, _t = 256, Wt = 512, ue = $t | Dt | _t;
320
320
  function Oe(t, e) {
321
- return Mt | (t ? Ne : 0) | (e ? ci : 0);
321
+ return Dt | (t ? Ne : 0) | (e ? ci : 0);
322
322
  }
323
323
  var ie = 0, Re = 1, Tt = 2, fi = 3, di = 4, mi = 5, H = function(e, s, a) {
324
324
  this.options = e = xs(e), this.sourceFile = e.sourceFile, this.keywords = kt(cs[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
@@ -333,7 +333,7 @@ H.prototype.parse = function() {
333
333
  return this.nextToken(), this.parseTopLevel(e);
334
334
  };
335
335
  mt.inFunction.get = function() {
336
- return (this.currentVarScope().flags & Mt) > 0;
336
+ return (this.currentVarScope().flags & Dt) > 0;
337
337
  };
338
338
  mt.inGenerator.get = function() {
339
339
  return (this.currentVarScope().flags & ci) > 0;
@@ -344,9 +344,9 @@ mt.inAsync.get = function() {
344
344
  mt.canAwait.get = function() {
345
345
  for (var t = this.scopeStack.length - 1; t >= 0; t--) {
346
346
  var e = this.scopeStack[t], s = e.flags;
347
- if (s & (It | Wt))
347
+ if (s & (_t | Wt))
348
348
  return !1;
349
- if (s & Mt)
349
+ if (s & Dt)
350
350
  return (s & Ne) > 0;
351
351
  }
352
352
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
@@ -364,13 +364,13 @@ mt.treatFunctionsAsVar.get = function() {
364
364
  mt.allowNewDotTarget.get = function() {
365
365
  for (var t = this.scopeStack.length - 1; t >= 0; t--) {
366
366
  var e = this.scopeStack[t], s = e.flags;
367
- if (s & (It | Wt) || s & Mt && !(s & Le))
367
+ if (s & (_t | Wt) || s & Dt && !(s & Le))
368
368
  return !0;
369
369
  }
370
370
  return !1;
371
371
  };
372
372
  mt.inClassStaticBlock.get = function() {
373
- return (this.currentVarScope().flags & It) > 0;
373
+ return (this.currentVarScope().flags & _t) > 0;
374
374
  };
375
375
  H.extend = function() {
376
376
  for (var e = [], s = arguments.length; s--; ) e[s] = arguments[s];
@@ -783,7 +783,7 @@ w.parseClassField = function(t) {
783
783
  w.parseClassStaticBlock = function(t) {
784
784
  t.body = [];
785
785
  var e = this.labels;
786
- for (this.labels = [], this.enterScope(It | he); this.type !== u.braceR; ) {
786
+ for (this.labels = [], this.enterScope(_t | he); this.type !== u.braceR; ) {
787
787
  var s = this.parseStatement(null);
788
788
  t.body.push(s);
789
789
  }
@@ -804,7 +804,7 @@ w.exitClassBody = function() {
804
804
  if (this.options.checkPrivateFields)
805
805
  for (var a = this.privateNameStack.length, o = a === 0 ? null : this.privateNameStack[a - 1], l = 0; l < s.length; ++l) {
806
806
  var d = s[l];
807
- Rt(e, d.name) || (o ? o.used.push(d) : this.raiseRecoverable(d.start, "Private field '#" + d.name + "' must be declared in an enclosing class"));
807
+ Mt(e, d.name) || (o ? o.used.push(d) : this.raiseRecoverable(d.start, "Private field '#" + d.name + "' must be declared in an enclosing class"));
808
808
  }
809
809
  };
810
810
  function Ss(t, e) {
@@ -856,7 +856,7 @@ w.parseExportDefaultDeclaration = function() {
856
856
  }
857
857
  };
858
858
  w.checkExport = function(t, e, s) {
859
- t && (typeof e != "string" && (e = e.type === "Identifier" ? e.name : e.value), Rt(t, e) && this.raiseRecoverable(s, "Duplicate export '" + e + "'"), t[e] = !0);
859
+ t && (typeof e != "string" && (e = e.type === "Identifier" ? e.name : e.value), Mt(t, e) && this.raiseRecoverable(s, "Duplicate export '" + e + "'"), t[e] = !0);
860
860
  };
861
861
  w.checkPatternExport = function(t, e) {
862
862
  var s = e.type;
@@ -944,7 +944,7 @@ w.parseWithClause = function() {
944
944
  else if (this.expect(u.comma), this.afterTrailingComma(u.braceR))
945
945
  break;
946
946
  var a = this.parseImportAttribute(), o = a.key.type === "Identifier" ? a.key.name : a.key.value;
947
- Rt(e, o) && this.raiseRecoverable(a.key.start, "Duplicate attribute key '" + o + "'"), e[o] = !0, t.push(a);
947
+ Mt(e, o) && this.raiseRecoverable(a.key.start, "Duplicate attribute key '" + o + "'"), e[o] = !0, t.push(a);
948
948
  }
949
949
  return t;
950
950
  };
@@ -1077,7 +1077,7 @@ pt.checkLValSimple = function(t, e, s) {
1077
1077
  var a = e !== ie;
1078
1078
  switch (t.type) {
1079
1079
  case "Identifier":
1080
- this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (a ? "Binding " : "Assigning to ") + t.name + " in strict mode"), a && (e === Tt && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), s && (Rt(s, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), s[t.name] = !0), e !== mi && this.declareName(t.name, e, t.start));
1080
+ this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (a ? "Binding " : "Assigning to ") + t.name + " in strict mode"), a && (e === Tt && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), s && (Mt(s, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), s[t.name] = !0), e !== mi && this.declareName(t.name, e, t.start));
1081
1081
  break;
1082
1082
  case "ChainExpression":
1083
1083
  this.raiseRecoverable(t.start, "Optional chaining cannot appear in left-hand side");
@@ -1139,18 +1139,18 @@ var X = function(e, s, a, o, l) {
1139
1139
  f_expr: new X("function", !0),
1140
1140
  f_expr_gen: new X("function", !0, !1, null, !0),
1141
1141
  f_gen: new X("function", !1, !1, null, !0)
1142
- }, Dt = H.prototype;
1143
- Dt.initialContext = function() {
1142
+ }, Vt = H.prototype;
1143
+ Vt.initialContext = function() {
1144
1144
  return [F.b_stat];
1145
1145
  };
1146
- Dt.curContext = function() {
1146
+ Vt.curContext = function() {
1147
1147
  return this.context[this.context.length - 1];
1148
1148
  };
1149
- Dt.braceIsBlock = function(t) {
1149
+ Vt.braceIsBlock = function(t) {
1150
1150
  var e = this.curContext();
1151
1151
  return e === F.f_expr || e === F.f_stat ? !0 : t === u.colon && (e === F.b_stat || e === F.b_expr) ? !e.isExpr : t === u._return || t === u.name && this.exprAllowed ? J.test(this.input.slice(this.lastTokEnd, this.start)) : t === u._else || t === u.semi || t === u.eof || t === u.parenR || t === u.arrow ? !0 : t === u.braceL ? e === F.b_stat : t === u._var || t === u._const || t === u.name ? !1 : !this.exprAllowed;
1152
1152
  };
1153
- Dt.inGeneratorContext = function() {
1153
+ Vt.inGeneratorContext = function() {
1154
1154
  for (var t = this.context.length - 1; t >= 1; t--) {
1155
1155
  var e = this.context[t];
1156
1156
  if (e.token === "function")
@@ -1158,11 +1158,11 @@ Dt.inGeneratorContext = function() {
1158
1158
  }
1159
1159
  return !1;
1160
1160
  };
1161
- Dt.updateContext = function(t) {
1161
+ Vt.updateContext = function(t) {
1162
1162
  var e, s = this.type;
1163
1163
  s.keyword && t === u.dot ? this.exprAllowed = !1 : (e = s.updateContext) ? e.call(this, t) : this.exprAllowed = s.beforeExpr;
1164
1164
  };
1165
- Dt.overrideContext = function(t) {
1165
+ Vt.overrideContext = function(t) {
1166
1166
  this.curContext() !== t && (this.context[this.context.length - 1] = t);
1167
1167
  };
1168
1168
  u.parenR.updateContext = u.braceR.updateContext = function() {
@@ -1364,12 +1364,12 @@ _.parseSubscript = function(t, e, s, a, o, l, d) {
1364
1364
  } else if (!a && this.eat(u.parenL)) {
1365
1365
  var N = new ce(), j = this.yieldPos, nt = this.awaitPos, lt = this.awaitIdentPos;
1366
1366
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1367
- var _t = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1, N);
1367
+ var Nt = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1, N);
1368
1368
  if (o && !g && this.shouldParseAsyncArrow())
1369
- return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = j, this.awaitPos = nt, this.awaitIdentPos = lt, this.parseSubscriptAsyncArrow(e, s, _t, d);
1369
+ return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = j, this.awaitPos = nt, this.awaitIdentPos = lt, this.parseSubscriptAsyncArrow(e, s, Nt, d);
1370
1370
  this.checkExpressionErrors(N, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = nt || this.awaitPos, this.awaitIdentPos = lt || this.awaitIdentPos;
1371
1371
  var I = this.startNodeAt(e, s);
1372
- I.callee = t, I.arguments = _t, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1372
+ I.callee = t, I.arguments = Nt, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1373
1373
  } else if (this.type === u.backQuote) {
1374
1374
  (g || l) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1375
1375
  var Z = this.startNodeAt(e, s);
@@ -1483,10 +1483,10 @@ _.parseParenAndDistinguishExpression = function(t, e) {
1483
1483
  break;
1484
1484
  } else
1485
1485
  g.push(this.parseMaybeAssign(!1, N, this.parseParenItem));
1486
- var _t = this.lastTokEnd, I = this.lastTokEndLoc;
1486
+ var Nt = this.lastTokEnd, I = this.lastTokEndLoc;
1487
1487
  if (this.expect(u.parenR), t && this.shouldParseArrow(g) && this.eat(u.arrow))
1488
1488
  return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = j, this.awaitPos = nt, this.parseParenArrowList(s, a, g, e);
1489
- (!g.length || P) && this.unexpected(this.lastTokStart), lt && this.unexpected(lt), this.checkExpressionErrors(N, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = nt || this.awaitPos, g.length > 1 ? (o = this.startNodeAt(d, v), o.expressions = g, this.finishNodeAt(o, "SequenceExpression", _t, I)) : o = g[0];
1489
+ (!g.length || P) && this.unexpected(this.lastTokStart), lt && this.unexpected(lt), this.checkExpressionErrors(N, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = nt || this.awaitPos, g.length > 1 ? (o = this.startNodeAt(d, v), o.expressions = g, this.finishNodeAt(o, "SequenceExpression", Nt, I)) : o = g[0];
1490
1490
  } else
1491
1491
  o = this.parseParenExpression();
1492
1492
  if (this.options.preserveParens) {
@@ -1668,7 +1668,7 @@ re.raise = function(t, e) {
1668
1668
  re.raiseRecoverable = re.raise;
1669
1669
  re.curPosition = function() {
1670
1670
  if (this.options.locations)
1671
- return new Ot(this.curLine, this.pos - this.lineStart);
1671
+ return new Rt(this.curLine, this.pos - this.lineStart);
1672
1672
  };
1673
1673
  var wt = H.prototype, Cs = function(e) {
1674
1674
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
@@ -1680,7 +1680,7 @@ wt.exitScope = function() {
1680
1680
  this.scopeStack.pop();
1681
1681
  };
1682
1682
  wt.treatFunctionsAsVarInScope = function(t) {
1683
- return t.flags & Mt || !this.inModule && t.flags & $t;
1683
+ return t.flags & Dt || !this.inModule && t.flags & $t;
1684
1684
  };
1685
1685
  wt.declareName = function(t, e, s) {
1686
1686
  var a = !1;
@@ -1714,14 +1714,14 @@ wt.currentScope = function() {
1714
1714
  wt.currentVarScope = function() {
1715
1715
  for (var t = this.scopeStack.length - 1; ; t--) {
1716
1716
  var e = this.scopeStack[t];
1717
- if (e.flags & (ue | Wt | It))
1717
+ if (e.flags & (ue | Wt | _t))
1718
1718
  return e;
1719
1719
  }
1720
1720
  };
1721
1721
  wt.currentThisScope = function() {
1722
1722
  for (var t = this.scopeStack.length - 1; ; t--) {
1723
1723
  var e = this.scopeStack[t];
1724
- if (e.flags & (ue | Wt | It) && !(e.flags & Le))
1724
+ if (e.flags & (ue | Wt | _t) && !(e.flags & Le))
1725
1725
  return e;
1726
1726
  }
1727
1727
  };
@@ -2310,7 +2310,7 @@ C.regexp_eatUnicodePropertyValueExpression = function(t) {
2310
2310
  return Li;
2311
2311
  };
2312
2312
  C.regexp_validateUnicodePropertyNameAndValue = function(t, e, s) {
2313
- Rt(t.unicodeProperties.nonBinary, e) || t.raise("Invalid property name"), t.unicodeProperties.nonBinary[e].test(s) || t.raise("Invalid property value");
2313
+ Mt(t.unicodeProperties.nonBinary, e) || t.raise("Invalid property name"), t.unicodeProperties.nonBinary[e].test(s) || t.raise("Invalid property value");
2314
2314
  };
2315
2315
  C.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
2316
2316
  if (t.unicodeProperties.binary.test(e))
@@ -2670,7 +2670,7 @@ R.skipBlockComment = function() {
2670
2670
  );
2671
2671
  };
2672
2672
  R.skipLineComment = function(t) {
2673
- for (var e = this.pos, s = this.options.onComment && this.curPosition(), a = this.input.charCodeAt(this.pos += t); this.pos < this.input.length && !Et(a); )
2673
+ for (var e = this.pos, s = this.options.onComment && this.curPosition(), a = this.input.charCodeAt(this.pos += t); this.pos < this.input.length && !It(a); )
2674
2674
  a = this.input.charCodeAt(++this.pos);
2675
2675
  this.options.onComment && this.options.onComment(
2676
2676
  !1,
@@ -2966,7 +2966,7 @@ R.readString = function(t) {
2966
2966
  var a = this.input.charCodeAt(this.pos);
2967
2967
  if (a === t)
2968
2968
  break;
2969
- a === 92 ? (e += this.input.slice(s, this.pos), e += this.readEscapedChar(!1), s = this.pos) : a === 8232 || a === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (Et(a) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
2969
+ a === 92 ? (e += this.input.slice(s, this.pos), e += this.readEscapedChar(!1), s = this.pos) : a === 8232 || a === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (It(a) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
2970
2970
  }
2971
2971
  return e += this.input.slice(s, this.pos++), this.finishToken(u.string, e);
2972
2972
  };
@@ -2996,7 +2996,7 @@ R.readTmplToken = function() {
2996
2996
  return this.pos === this.start && (this.type === u.template || this.type === u.invalidTemplate) ? s === 36 ? (this.pos += 2, this.finishToken(u.dollarBraceL)) : (++this.pos, this.finishToken(u.backQuote)) : (t += this.input.slice(e, this.pos), this.finishToken(u.template, t));
2997
2997
  if (s === 92)
2998
2998
  t += this.input.slice(e, this.pos), t += this.readEscapedChar(!0), e = this.pos;
2999
- else if (Et(s)) {
2999
+ else if (It(s)) {
3000
3000
  switch (t += this.input.slice(e, this.pos), ++this.pos, s) {
3001
3001
  case 13:
3002
3002
  this.input.charCodeAt(this.pos) === 10 && ++this.pos;
@@ -3091,7 +3091,7 @@ R.readEscapedChar = function(t) {
3091
3091
  t ? "Octal literal in template string" : "Octal literal in strict mode"
3092
3092
  ), String.fromCharCode(o);
3093
3093
  }
3094
- return Et(e) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(e);
3094
+ return It(e) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(e);
3095
3095
  }
3096
3096
  };
3097
3097
  R.readHexChar = function(t) {
@@ -3118,26 +3118,26 @@ R.readWord1 = function() {
3118
3118
  };
3119
3119
  R.readWord = function() {
3120
3120
  var t = this.readWord1(), e = u.name;
3121
- return this.keywords.test(t) && (e = Lt[t]), this.finishToken(e, t);
3121
+ return this.keywords.test(t) && (e = Ot[t]), this.finishToken(e, t);
3122
3122
  };
3123
3123
  var ji = "8.15.0";
3124
3124
  H.acorn = {
3125
3125
  Parser: H,
3126
3126
  version: ji,
3127
3127
  defaultOptions: ee,
3128
- Position: Ot,
3128
+ Position: Rt,
3129
3129
  SourceLocation: Kt,
3130
3130
  getLineInfo: _e,
3131
3131
  Node: zt,
3132
3132
  TokenType: O,
3133
3133
  tokTypes: u,
3134
- keywordTypes: Lt,
3134
+ keywordTypes: Ot,
3135
3135
  TokContext: X,
3136
3136
  tokContexts: F,
3137
3137
  isIdentifierChar: vt,
3138
3138
  isIdentifierStart: ft,
3139
3139
  Token: le,
3140
- isNewLine: Et,
3140
+ isNewLine: It,
3141
3141
  lineBreak: J,
3142
3142
  lineBreakG: oi,
3143
3143
  nonASCIIwhitespace: Ie
@@ -3155,7 +3155,7 @@ const zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3155
3155
  __proto__: null,
3156
3156
  Node: zt,
3157
3157
  Parser: H,
3158
- Position: Ot,
3158
+ Position: Rt,
3159
3159
  SourceLocation: Kt,
3160
3160
  TokContext: X,
3161
3161
  Token: le,
@@ -3164,8 +3164,8 @@ const zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3164
3164
  getLineInfo: _e,
3165
3165
  isIdentifierChar: vt,
3166
3166
  isIdentifierStart: ft,
3167
- isNewLine: Et,
3168
- keywordTypes: Lt,
3167
+ isNewLine: It,
3168
+ keywordTypes: Ot,
3169
3169
  lineBreak: J,
3170
3170
  lineBreakG: oi,
3171
3171
  nonASCIIwhitespace: Ie,
@@ -3248,9 +3248,9 @@ function Qs(t) {
3248
3248
  var v = this.context.pop();
3249
3249
  v === o.tc_oTag && d === u.slash || v === o.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === o.tc_expr) : this.exprAllowed = !0;
3250
3250
  }, e = { tokTypes: ne({}, s, a), tokContexts: ne({}, o), keywordsRegExp: l, tokenIsLiteralPropertyName: function(d) {
3251
- return [u.name, u.string, u.num].concat(Object.values(Lt), Object.values(s)).includes(d);
3251
+ return [u.name, u.string, u.num].concat(Object.values(Ot), Object.values(s)).includes(d);
3252
3252
  }, tokenIsKeywordOrIdentifier: function(d) {
3253
- return [u.name].concat(Object.values(Lt), Object.values(s)).includes(d);
3253
+ return [u.name].concat(Object.values(Ot), Object.values(s)).includes(d);
3254
3254
  }, tokenIsIdentifier: function(d) {
3255
3255
  return [].concat(Object.values(s), [u.name]).includes(d);
3256
3256
  }, tokenIsTSDeclarationStart: function(d) {
@@ -3263,7 +3263,7 @@ function Qs(t) {
3263
3263
  }
3264
3264
  return e;
3265
3265
  }
3266
- var jt = 1024, Js = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), Ye = new RegExp("(?=(" + Js.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), Bt = function() {
3266
+ var Bt = 1024, Js = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), Ye = new RegExp("(?=(" + Js.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), Ut = function() {
3267
3267
  this.shorthandAssign = void 0, this.trailingComma = void 0, this.parenthesizedAssign = void 0, this.parenthesizedBind = void 0, this.doubleProto = void 0, this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
3268
3268
  };
3269
3269
  function Ys(t, e) {
@@ -3342,7 +3342,7 @@ function ei(t) {
3342
3342
  function ar(t) {
3343
3343
  var e = {}, s = e.dts, a = s !== void 0 && s, o = e.allowSatisfies, l = o !== void 0 && o;
3344
3344
  return function(d) {
3345
- var v = d.acorn || zs, g = Qs(v), h = v.tokTypes, P = v.keywordTypes, N = v.isIdentifierStart, j = v.lineBreak, nt = v.isNewLine, lt = v.tokContexts, _t = v.isIdentifierChar, I = g.tokTypes, Z = g.tokContexts, fe = g.keywordsRegExp, $i = g.tokenIsLiteralPropertyName, Gi = g.tokenIsTemplate, Ki = g.tokenIsTSDeclarationStart, V = g.tokenIsIdentifier, Qt = g.tokenIsKeywordOrIdentifier, Wi = g.tokenIsTSTypeOperator;
3345
+ var v = d.acorn || zs, g = Qs(v), h = v.tokTypes, P = v.keywordTypes, N = v.isIdentifierStart, j = v.lineBreak, nt = v.isNewLine, lt = v.tokContexts, Nt = v.isIdentifierChar, I = g.tokTypes, Z = g.tokContexts, fe = g.keywordsRegExp, $i = g.tokenIsLiteralPropertyName, Gi = g.tokenIsTemplate, Ki = g.tokenIsTSDeclarationStart, V = g.tokenIsIdentifier, Qt = g.tokenIsKeywordOrIdentifier, Wi = g.tokenIsTSTypeOperator;
3346
3346
  function zi(S, tt, z) {
3347
3347
  z === void 0 && (z = S.length);
3348
3348
  for (var $ = tt; $ < z; $++) {
@@ -3654,7 +3654,7 @@ function ar(t) {
3654
3654
  var n = i + r.length;
3655
3655
  if (this.input.slice(i, n) === r) {
3656
3656
  var c = this.input.charCodeAt(n);
3657
- return !(_t(c) || (64512 & c) == 55296);
3657
+ return !(Nt(c) || (64512 & c) == 55296);
3658
3658
  }
3659
3659
  return !1;
3660
3660
  }, p.isAbstractConstructorSignature = function() {
@@ -3799,7 +3799,7 @@ function ar(t) {
3799
3799
  }
3800
3800
  return this.next(), S.prototype.exitScope.call(this), this.finishNode(i, "TSModuleBlock");
3801
3801
  }, p.tsParseAmbientExternalModuleDeclaration = function(i) {
3802
- return this.ts_isContextual(I.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(h.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(h.braceL) ? (S.prototype.enterScope.call(this, jt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this)) : S.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3802
+ return this.ts_isContextual(I.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(h.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(h.braceL) ? (S.prototype.enterScope.call(this, Bt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this)) : S.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3803
3803
  }, p.tsTryParseDeclare = function(i) {
3804
3804
  var r = this;
3805
3805
  if (!this.isLineTerminator()) {
@@ -4293,7 +4293,7 @@ function ar(t) {
4293
4293
  break;
4294
4294
  case "global":
4295
4295
  if (this.match(h.braceL)) {
4296
- S.prototype.enterScope.call(this, jt);
4296
+ S.prototype.enterScope.call(this, Bt);
4297
4297
  var c = i;
4298
4298
  return c.global = !0, c.id = r, c.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this), this.finishNode(c, "TSModuleDeclaration");
4299
4299
  }
@@ -4333,7 +4333,7 @@ function ar(t) {
4333
4333
  if (r === void 0 && (r = !1), i.id = this.parseIdent(), r || this.checkLValSimple(i.id, 8), this.eat(h.dot)) {
4334
4334
  var n = this.startNode();
4335
4335
  this.tsParseModuleOrNamespaceDeclaration(n, !0), i.body = n;
4336
- } else S.prototype.enterScope.call(this, jt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this);
4336
+ } else S.prototype.enterScope.call(this, Bt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this);
4337
4337
  return this.finishNode(i, "TSModuleDeclaration");
4338
4338
  }, p.checkLValSimple = function(i, r, n) {
4339
4339
  return r === void 0 && (r = 0), S.prototype.checkLValSimple.call(this, i, r, n);
@@ -4678,7 +4678,7 @@ function ar(t) {
4678
4678
  this.exprAllowed = !1;
4679
4679
  }
4680
4680
  var c = !1, f = -1, m = -1, y = -1;
4681
- r ? (f = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new Bt(), c = !0);
4681
+ r ? (f = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new Ut(), c = !0);
4682
4682
  var x = this.start, b = this.startLoc;
4683
4683
  (this.type === h.parenL || V(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = i === "await");
4684
4684
  var T = this.parseMaybeConditional(i, r);
@@ -4699,10 +4699,10 @@ function ar(t) {
4699
4699
  if (!((c = L) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, r, n);
4700
4700
  E && !this.compareLookaheadState(E, this.getCurLookaheadState()) || (E = this.cloneCurLookaheadState());
4701
4701
  var it = this.tryParse(function(Pt) {
4702
- var Vt, Ft;
4702
+ var Ft, jt;
4703
4703
  U = B.tsParseTypeParameters();
4704
4704
  var Ct = B.parseMaybeAssignOrigin(i, r, n);
4705
- return (Ct.type !== "ArrowFunctionExpression" || (Vt = Ct.extra) != null && Vt.parenthesized) && Pt(), ((Ft = U) == null ? void 0 : Ft.params.length) !== 0 && B.resetStartLocationFromNode(Ct, U), Ct.typeParameters = U, Ct;
4705
+ return (Ct.type !== "ArrowFunctionExpression" || (Ft = Ct.extra) != null && Ft.parenthesized) && Pt(), ((jt = U) == null ? void 0 : jt.params.length) !== 0 && B.resetStartLocationFromNode(Ct, U), Ct.typeParameters = U, Ct;
4706
4706
  }, E);
4707
4707
  if (!it.error && !it.aborted) return U && this.reportReservedArrowTypeParam(U), it.node;
4708
4708
  if (!L && (ti(!0), !(k = this.tryParse(function() {
@@ -4770,7 +4770,7 @@ function ar(t) {
4770
4770
  return !1;
4771
4771
  }
4772
4772
  }, p.toAssignable = function(i, r, n) {
4773
- switch (r === void 0 && (r = !1), n === void 0 && (n = new Bt()), i.type) {
4773
+ switch (r === void 0 && (r = !1), n === void 0 && (n = new Ut()), i.type) {
4774
4774
  case "ParenthesizedExpression":
4775
4775
  return this.toAssignableParenthesizedExpression(i, r, n);
4776
4776
  case "TSAsExpression":
@@ -4835,7 +4835,7 @@ function ar(t) {
4835
4835
  if (this.options.ecmaVersion >= 6) {
4836
4836
  var y = this.maybeInArrowParameters;
4837
4837
  this.maybeInArrowParameters = !0, this.next();
4838
- var x, b = this.start, T = this.startLoc, E = [], L = !0, k = !1, U = new Bt(), B = this.yieldPos, q = this.awaitPos;
4838
+ var x, b = this.start, T = this.startLoc, E = [], L = !0, k = !1, U = new Ut(), B = this.yieldPos, q = this.awaitPos;
4839
4839
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== h.parenR; ) {
4840
4840
  if (L ? L = !1 : this.expect(h.comma), m && this.afterTrailingComma(h.parenR, !0)) {
4841
4841
  k = !0;
@@ -4904,8 +4904,8 @@ function ar(t) {
4904
4904
  return Ue.typeParameters = Yt, Ue;
4905
4905
  }
4906
4906
  if (!c && x.eat(h.parenL)) {
4907
- var qe = new Bt(), Nt = x.startNodeAt(r, n);
4908
- return Nt.callee = i, Nt.arguments = x.parseExprList(h.parenR, x.options.ecmaVersion >= 8, !1, qe), x.tsCheckForInvalidTypeCasts(Nt.arguments), Nt.typeParameters = Yt, b && (Nt.optional = E), x.checkExpressionErrors(qe, !0), i = x.finishNode(Nt, "CallExpression");
4907
+ var qe = new Ut(), Lt = x.startNodeAt(r, n);
4908
+ return Lt.callee = i, Lt.arguments = x.parseExprList(h.parenR, x.options.ecmaVersion >= 8, !1, qe), x.tsCheckForInvalidTypeCasts(Lt.arguments), Lt.typeParameters = Yt, b && (Lt.optional = E), x.checkExpressionErrors(qe, !0), i = x.finishNode(Lt, "CallExpression");
4909
4909
  }
4910
4910
  var me = x.type;
4911
4911
  if (!(x.tsMatchRightRelational() || me === h.bitShift || me !== h.parenL && (He = me, !!He.startsExpr) && !x.hasPrecedingLineBreak())) {
@@ -4924,12 +4924,12 @@ function ar(t) {
4924
4924
  } else if (!c && this.eat(h.parenL)) {
4925
4925
  var it = this.maybeInArrowParameters;
4926
4926
  this.maybeInArrowParameters = !0;
4927
- var Pt = new Bt(), Vt = this.yieldPos, Ft = this.awaitPos, Ct = this.awaitIdentPos;
4927
+ var Pt = new Ut(), Ft = this.yieldPos, jt = this.awaitPos, Ct = this.awaitIdentPos;
4928
4928
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
4929
4929
  var je = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, Pt);
4930
- if (f && !B && this.shouldParseAsyncArrow()) this.checkPatternErrors(Pt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Vt, this.awaitPos = Ft, this.awaitIdentPos = Ct, i = this.parseSubscriptAsyncArrow(r, n, je, y);
4930
+ if (f && !B && this.shouldParseAsyncArrow()) this.checkPatternErrors(Pt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Ft, this.awaitPos = jt, this.awaitIdentPos = Ct, i = this.parseSubscriptAsyncArrow(r, n, je, y);
4931
4931
  else {
4932
- this.checkExpressionErrors(Pt, !0), this.yieldPos = Vt || this.yieldPos, this.awaitPos = Ft || this.awaitPos, this.awaitIdentPos = Ct || this.awaitIdentPos;
4932
+ this.checkExpressionErrors(Pt, !0), this.yieldPos = Ft || this.yieldPos, this.awaitPos = jt || this.awaitPos, this.awaitIdentPos = Ct || this.awaitIdentPos;
4933
4933
  var Jt = this.startNodeAt(r, n);
4934
4934
  Jt.callee = i, Jt.arguments = je, U && (Jt.optional = B), i = this.finishNode(Jt, "CallExpression");
4935
4935
  }
@@ -5047,11 +5047,11 @@ function ar(t) {
5047
5047
  for (c.attributes = []; this.type !== h.slash && this.type !== I.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5048
5048
  return c.selfClosing = this.eat(h.slash), this.expect(I.jsxTagEnd), this.finishNode(c, f ? "JSXOpeningElement" : "JSXOpeningFragment");
5049
5049
  }, p.enterScope = function(i) {
5050
- i === jt && this.importsStack.push([]), S.prototype.enterScope.call(this, i);
5050
+ i === Bt && this.importsStack.push([]), S.prototype.enterScope.call(this, i);
5051
5051
  var r = S.prototype.currentScope.call(this);
5052
5052
  r.types = [], r.enums = [], r.constEnums = [], r.classes = [], r.exportOnlyBindings = [];
5053
5053
  }, p.exitScope = function() {
5054
- S.prototype.currentScope.call(this).flags === jt && this.importsStack.pop(), S.prototype.exitScope.call(this);
5054
+ S.prototype.currentScope.call(this).flags === Bt && this.importsStack.pop(), S.prototype.exitScope.call(this);
5055
5055
  }, p.hasImport = function(i, r) {
5056
5056
  var n = this.importsStack.length;
5057
5057
  if (this.importsStack[n - 1].indexOf(i) > -1) return !0;
@@ -5167,7 +5167,7 @@ ${t}
5167
5167
  async function Q(t) {
5168
5168
  return JSON.parse(await at.readFile(t, "utf8"));
5169
5169
  }
5170
- async function At(t) {
5170
+ async function Et(t) {
5171
5171
  return await at.readFile(t, "utf8");
5172
5172
  }
5173
5173
  async function cr(t) {
@@ -5317,7 +5317,7 @@ async function lr(t, e) {
5317
5317
  }
5318
5318
  async function fr(t, e) {
5319
5319
  K(`${t} Build connector project configuration`);
5320
- const [s, a] = await Promise.all([Q("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Zi, s);
5320
+ const [s, a] = await Promise.all([Q("config.json"), Et("src/index.ts")]), o = /* @__PURE__ */ Ee(Zi, s);
5321
5321
  if (!o.success)
5322
5322
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5323
5323
  const l = De(a), d = yr(l);
@@ -5328,7 +5328,7 @@ async function Fe(t, e, s, a) {
5328
5328
  }
5329
5329
  async function dr(t, e) {
5330
5330
  K(`${t} Build context project configuration`);
5331
- const [s, a] = await Promise.all([Q("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Yi, s);
5331
+ const [s, a] = await Promise.all([Q("config.json"), Et("src/index.ts")]), o = /* @__PURE__ */ Ee(Yi, s);
5332
5332
  if (!o.success)
5333
5333
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5334
5334
  const l = De(a);
@@ -5336,7 +5336,7 @@ async function dr(t, e) {
5336
5336
  }
5337
5337
  async function mr(t, e) {
5338
5338
  K(`${t} Build presenter project configuration`);
5339
- const [s, a] = await Promise.all([Q("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(is, s);
5339
+ const [s, a] = await Promise.all([Q("config.json"), Et("src/index.ts")]), o = /* @__PURE__ */ Ee(is, s);
5340
5340
  if (!o.success)
5341
5341
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5342
5342
  const l = De(a);
@@ -5391,7 +5391,7 @@ async function br(t) {
5391
5391
  const g = v.severity?.toLowerCase() ?? "unknown";
5392
5392
  g in s ? s[g]++ : s.unknown++;
5393
5393
  }
5394
- const a = await Tr(s), o = await At("./README.md"), l = qi(o, a.join(" "), vr, gr);
5394
+ const a = await Tr(s), o = await Et("./README.md"), l = qi(o, a.join(" "), vr, gr);
5395
5395
  await Gt("README.md", l), console.info("OWASP audit badge(s) inserted into 'README.md'");
5396
5396
  }
5397
5397
  async function Tr(t) {
@@ -5472,7 +5472,7 @@ async function Cr(t, e) {
5472
5472
  h.licenseFileLink == null || h.licenseFileLink == "" ? nt = "⚠️ No license file" : nt = `[${h.licenseFileLink.slice(Math.max(0, h.licenseFileLink.lastIndexOf("/") + 1))}](${h.licenseFileLink})`, d += `|${h.name}|${h.licenseType}|${P}|${h.remoteVersion}|${N}|${j}|${nt}|
5473
5473
  `;
5474
5474
  }
5475
- const v = await At("./README.md"), g = qi(v, d, Sr, Pr);
5475
+ const v = await Et("./README.md"), g = qi(v, d, Sr, Pr);
5476
5476
  await Gt("README.md", g), console.info("OWASP audit badge(s) inserted into 'README.md'"), await Gt("README.md", g);
5477
5477
  }
5478
5478
  function kr(t) {
@@ -5518,19 +5518,14 @@ async function $r(t = []) {
5518
5518
  }
5519
5519
  }
5520
5520
  async function Ar(t) {
5521
- console.log(1111, t);
5522
5521
  const e = te.dirname(ri(import.meta.url));
5523
- await Ut(e, "../", ".editorconfig"), await Ut(e, "../", ".gitattributes"), await Ut(e, "../", ".markdownlint.json"), await Ut(e, "../", "LICENSE"), t.isPublish && await Ut(e, "../", ".gitignore_published", ".gitignore2");
5522
+ await At(e, "../", ".editorconfig"), await At(e, "../", ".gitattributes"), await (t.isPublish ? At(e, "../", ".gitignore_published", ".gitignore2") : At(e, "../", ".gitignore_unpublished", ".gitignore2")), await At(e, "../", ".markdownlint.json"), await At(e, "../", "eslint.config.ts", "eslint.config2.ts"), await At(e, "../", "LICENSE");
5524
5523
  }
5525
- async function Ut(t, e, s, a) {
5526
- console.log(2222, t, e, s);
5527
- const o = te.resolve(t, `${e}${s}`);
5528
- console.log(3333, o);
5529
- const l = await At(o), d = te.resolve(process.cwd(), a || s);
5530
- console.log(4444, d);
5524
+ async function At(t, e, s, a) {
5525
+ const o = te.resolve(t, `${e}${s}`), l = await Et(o), d = te.resolve(process.cwd(), a ?? s);
5531
5526
  let v;
5532
5527
  try {
5533
- v = await At(d);
5528
+ v = await Et(d);
5534
5529
  } catch (g) {
5535
5530
  if (g.code !== "ENOENT") throw g;
5536
5531
  }